//
//  ClassModel.m
//  美食百科
//
//  Created by dllo on 16/1/23.
//  Copyright © 2016年 doll. All rights reserved.
//

#import "ClassModel.h"

@implementation ClassModel
//@property(nonatomic,copy)NSString *Id;
//@property(nonatomic,copy)NSString *appraise;
//
//@property(nonatomic,copy)NSString *name;
//@property(nonatomic,copy)NSString *image_url;
//@property(nonatomic,copy)NSString *sub_category_count;
//@property(nonatomic,copy)NSString *health_light;
//@property(nonatomic,copy)NSString *descrip;
//@property(nonatomic,copy)NSString *thumb_image_url;
//@property(nonatomic,copy)NSString *calory;
//@property(nonatomic,copy)NSString *protein;
//@property(nonatomic,copy)NSString *fat;
//@property(nonatomic,copy)NSString *weight;
//@property(nonatomic,copy)NSString *code;
//@property(nonatomic,copy)NSString *fiber_dietary;
//@property(nonatomic,copy)NSString *ingredient;
//@property(nonatomic,copy)NSString *carbohydrate;
//@property(nonatomic,copy)NSString *vitamin_a;
//@property(nonatomic,copy)NSString *vitamin_c;
//@property(nonatomic,copy)NSString *vitamin_e;
//@property(nonatomic,copy)NSString *carotene;
//@property(nonatomic,copy)NSString *thiamine;
//@property(nonatomic,copy)NSString *lactoflavin;
//@property(nonatomic,copy)NSString *niacin;
//@property(nonatomic,copy)NSString *cholesterol;
//@property(nonatomic,copy)NSString *magnesium;
//@property(nonatomic,copy)NSString *calcium;
//@property(nonatomic,copy)NSString *iron;
//@property(nonatomic,copy)NSString *zinc;
//@property(nonatomic,copy)NSString *copper;
//@property(nonatomic,copy)NSString *manganese;
//@property(nonatomic,copy)NSString *kalium;
//@property(nonatomic,copy)NSString *natrium;
//@property(nonatomic,copy)NSString *selenium;
//@property(nonatomic,copy)NSString *phosphor;
//@property(nonatomic,copy)NSString *lights;

- (void)dealloc
{
    [_Id release];
    [_appraise release];
    [_name release];
    [_image_url release];
    [_sub_category_count release];
    [_health_light release];
    [_descrip release];
    [_thumb_image_url release];
    [_calory release];
    [_protein release];
    [_fat release];
    [_weight release];
    [_code release];
    [_fiber_dietary release];
    [_ingredient release];
    [_carbohydrate release];
    [_vitamin_a release];
    [_vitamin_c release];
    [_vitamin_e release];
    [_carotene release];
    [_thiamine release];
    [_lactoflavin release];
    [_niacin release];
    [_cholesterol release];
    [_magnesium release];
    [_calcium release];
    [_iron release];
    [_zinc release];
    [_copper release];
    [_manganese release];
    [_kalium release];
    [_natrium release];
    [_selenium release];
    [_phosphor release];
    [_lights release];

    
    
    [super dealloc];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.Id = value;
    }else if ([key isEqualToString:@"description"]){
        self.descrip = value;
    }
}
@end
